package com.cyzy.mapper;

import com.aliyun.tea.Tea;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cyzy.dao.ClassTeacherDao;
import com.cyzy.dao.StudentCourseDao;
import com.cyzy.dao.TeacherEvaluationDao;
import com.cyzy.pojo.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TeacherMapper extends BaseMapper<Teacher> {

    Page<TeacherEvaluationDao> selectTeacherList(Page<TeacherEvaluationDao> page,
                                                  TeacherEvaluationDao teacherEvaluationDao,
                                                 @Param("courseId") Integer courseId,
                                                 @Param("teacherId") Integer teacherId);

    List<Teacher> getAllTeacherByTeacherId(Teacher teacher);

    List<ClassTeacherDao> showTeacherByClassId(ClassTeacherDao classTeacherDao);

}
